﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects;
using Data.Entity;
using System.Data.EntityClient;

namespace Data
{
    public class Model : ObjectContext
    {
        public Model(EntityConnection entityConnection)
            : base(entityConnection)
        {
            DefaultContainerName = "Model";
        }
        public IObjectSet<Category> Categories
        {
            get { return base.CreateObjectSet<Category>(); }
        }
    }
}
